#!/usr/bin/env bash

# shell 目录
basepath=$(cd `dirname $0`; pwd)
#
cmdpath=$(cd .; pwd)
docker run -it --rm --network=host --cpus=1 -m 512M --memory-swap=-1 -v $cmdpath:$cmdpath -w $cmdpath wolferhua/node:8.9.4 cnpm "$@"


#sudo ln -s  ~/workspace/dockers/wuhua/bash/cnpm.8.9.4.sh /usr/bin/cnpm&& sudo chmod +x  /usr/bin/cnpm